<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>网上商城</title>
		<link type="text/css" href="${ctx}/css/home.css" rel="stylesheet" />
		<script src="${ctx}/js/home.js" type="text/javascript"></script>
	</head>
	<body>
		<div class="page">
			<div class="head">
				<div class="cclass">
					<div style="position: relative; text-align: right; right: 50px;">
						<a href="#">购物车</a> |
						<a href="mailto:slonghorn@163.com">联系管理员</a> |
						<a href="#" onclick="sHP()">设置主页</a> |
						<a href="#" onclick="aF()">收藏本站 </a>
					</div>
					<div class="nav1">
						<span style="left: -250px; position: relative; text-align: left;">您好！欢迎来到网上商城</span>
						<a href="index.aspx">商城首页</a>/
						<a href="RHDGoods.aspx?Display=1">精品推荐</a>/
						<a href="RHDGoods.aspx?Display=3">特价商品</a>/
						<a href="RHDGoods.aspx?Display=2">热销商品</a>
					</div>
				</div>
			</div>
			<div class="" style="width: 780px; height: 420px;">
				<div class="classNav">
					<ul style="padding: 50px 0 0 50px;">
						<c:forEach items="${allClass}" var="item">
							<li>
								<img height="25" width="30" src="${item.categoryUrl}" />
								<a href="#">${item.className}</a>
							</li>
						</c:forEach>
					</ul>
				</div>
				<div class="content">
					<div class="all">
						<c:forEach items="${goodsInfo.result}" var="item"
							varStatus="status">
							<c:if test="${status.count!=5}">
								<span><img src="${item.goodsUrl}">
										市场价:${item.marketPrice} 会员价:${item.memberPrice} 
								</span>
							</c:if>
						</c:forEach>
					</div>
					<div class="hot"></div>
					<div class="sp"></div>
				</div>
			</div>
			<div class="foot">
			</div>
		</div>
	</body>
</html>
